package com.easyweb.model;

import java.io.Serializable;
import java.util.Date;
/**
 * 文章
 * @author zhangz
 *
 */
public class Article implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 主键
	 */
	private String id;
	/**
	 * 标题
	 */
	private String title;
	/**
	 * 缩略图
	 */
	private String thumbnail;
	/**
	 * 简介
	 */
	private String description;
	/**
	 * 内容
	 */
	private String content;
	/**
	 * 所属版块
	 */
	private String navbar;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 修改时间
	 */
	private Date updateTime;
	/**
	 * 创建人
	 */
	private String createUser;
	/**
	 * 阅读次数
	 */
	private int readCount;
	/**
	 * 标签
	 */
	private String tag;
	/**
	 * 草稿
	 */
	private int draft;
	/**
	 * 推荐
	 * @return
	 */
	private int recommend;
	/**
	 * 首页显示
	 * @return
	 */
	private int showOnIndex;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getThumbnail() {
		return thumbnail;
	}
	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getNavbar() {
		return navbar;
	}
	public void setNavbar(String navbar) {
		this.navbar = navbar;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public int getReadCount() {
		return readCount;
	}
	public void setReadCount(int readCount) {
		this.readCount = readCount;
	}
	public String getTag() {
		return tag;
	}
	public void setTag(String tag) {
		this.tag = tag;
	}
	public int getDraft() {
		return draft;
	}
	public void setDraft(int draft) {
		this.draft = draft;
	}
	public int getRecommend() {
		return recommend;
	}
	public void setRecommend(int recommend) {
		this.recommend = recommend;
	}
	public int getShowOnIndex() {
		return showOnIndex;
	}
	public void setShowOnIndex(int showOnIndex) {
		this.showOnIndex = showOnIndex;
	}
	
}
